package net.lab1024.sa.admin.module.business.oa.reservation.domain.form;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import net.lab1024.sa.base.common.domain.PageParam;
import net.lab1024.sa.base.common.json.deserializer.DictDataDeserializer;

import java.time.LocalDate;

/**
 * 预约记录 查询表单
 *
 * @Author TianYuan
 * @Date 2025-07-22 16:21:55
 * @Copyright TianYuan
 */

@Data
@EqualsAndHashCode(callSuper = false)
public class ReservationQueryFormPub{

    @Schema(description = "预约企业")
    private String enterpriseName;

    @Schema(description = "预约人电话")
    private String reservationPhone;

    @Schema(description = "预约状态")
    @JsonDeserialize(using = DictDataDeserializer.class)
    private String reservationState;

    @Schema(description = "企业名称")
    private String keywords;

    @Schema(description = "预约类型")
    @JsonDeserialize(using = DictDataDeserializer.class)
    private String reservationType;

    @Schema(description = "预约时间")
    private LocalDate reservationTimeBegin;

    @Schema(description = "预约时间")
    private LocalDate reservationTimeEnd;

}
